package mediateca.action.beans;

public class Author {
	private String id;
	private String name;
	private String surname;
	private String completeName;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSurname() {
		return surname;
	}
	public void setSurname(String surname) {
		this.surname = surname;
	}
	public String getCompleteName() {
		return surname + " "+ name;
	}
	public Author(String id, String name, String surname) {
		super();
		this.id = id;
		this.name = name;
		this.surname = surname;
	}
	public void setCompleteName(String completeName) {
		this.completeName = completeName;
	}

}
